﻿using System.Collections.Generic;

namespace AbpZeroTemplate.Url
{
    public interface IWebUrlService
    {
        string WebSiteRootAddressFormat { get; }

        string ServerRootAddressFormat { get; }

        bool SupportsTenancyNameInUrl { get; }

        string GetSiteRootAddress(string tenancyName = null);

        string GetServerRootAddress(string tenancyName = null);

        List<string> GetRedirectAllowedExternalWebSites();

        /// <summary>获取临时存储文件Url
        /// </summary>
        string GetTemporaryFolderUrl();

        /// <summary>获取真实存储文件Url
        /// </summary>
        string GetStorageRootFolderUrl();
    }
}
